From 280073d7a65c97702a50c7dcbf81c747849d429d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 25 May 1993 23:22:08 +0000 Subject: [PATCH] (wait_for_termination): Don't use the BSD alternative for LINUX. --- src/sysdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index c790901fece..7db18c343c0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -314,7 +314,7 @@ wait_for_termination (pid) status = SYS$FORCEX (&pid, 0, 0); break; #else /* not VMS */ -#if defined (BSD) || (defined (HPUX) && !defined (HPUX_5)) +#if (defined (BSD) && !defined (LINUX)) || (defined (HPUX) && !defined (HPUX_5)) /* Note that kill returns -1 even if the process is just a zombie now. But inevitably a SIGCHLD interrupt should be generated and child_sig will do wait3 and make the process go away. */ @@ -333,7 +333,7 @@ wait_for_termination (pid) sleep (1); else sigpause (SIGEMPTYMASK); -#else /* not BSD, and not HPUX version >= 6 */ +#else /* not BSD, not LINUX, and not HPUX version >= 6 */ #ifdef UNIPLUS if (0 > kill (pid, 0)) break; -- 2.30.2